home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / perl / mac-perl / mcprl402.bin / Perl_src / t / io / inplace.t < prev    next >
MacBinary  |  1992-01-05  |  1.1 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert E-Tracker Chiptune (music/eTracker) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Simis (archive/simis) ext Unsupported
1% dexvert TADS (other/tads) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Jan 5 15:37:34 1992, modified Sun Jan 5 15:37:34 1992, creator 'MPS ', type ASCII, 483 bytes "inplace.t" default (weak)
99% file a ./perl script executable (binary data), at 0x263 428 bytes resource default (weak)
98% file a ./perl script executable (binary data) default (weak)
97% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 69 6e 70 6c 61 63 | 65 2e 74 00 00 00 00 00 |..inplac|e.t.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 01 e3 00 | 00 01 ac a5 8d 1d 0e a5 |........|........|
|00000060| 8d 1d 0e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 61 33 00 00 |........|....a3..|
|00000080| 23 21 2e 2f 70 65 72 6c | 0d 0d 24 5e 49 20 3d 20 |#!./perl|..$^I = |
|00000090| 27 2e 62 61 6b 27 3b 0d | 0d 23 20 24 48 65 61 64 |'.bak';.|.# $Head|
|000000a0| 65 72 3a 20 69 6e 70 6c | 61 63 65 2e 74 2c 76 20 |er: inpl|ace.t,v |
|000000b0| 34 2e 30 20 39 31 2f 30 | 33 2f 32 30 20 30 31 3a |4.0 91/0|3/20 01:|
|000000c0| 35 30 3a 35 39 20 6c 77 | 61 6c 6c 20 4c 6f 63 6b |50:59 lw|all Lock|
|000000d0| 65 64 20 24 0d 0d 70 72 | 69 6e 74 20 22 31 2e 2e |ed $..pr|int "1..|
|000000e0| 32 5c 6e 22 3b 0d 0d 40 | 41 52 47 56 20 3d 20 28 |2\n";..@|ARGV = (|
|000000f0| 27 2e 61 27 2c 27 2e 62 | 27 2c 27 2e 63 27 29 3b |'.a','.b|','.c');|
|00000100| 0d 60 65 63 68 6f 20 66 | 6f 6f 20 3e 2e 61 60 3b |.`echo f|oo >.a`;|
|00000110| 0d 60 65 63 68 6f 20 66 | 6f 6f 20 3e 2e 62 60 3b |.`echo f|oo >.b`;|
|00000120| 0d 60 65 63 68 6f 20 66 | 6f 6f 20 3e 2e 63 60 3b |.`echo f|oo >.c`;|
|00000130| 0d 77 68 69 6c 65 20 28 | 3c 3e 29 20 7b 0d 20 20 |.while (|<>) {. |
|00000140| 20 20 73 2f 66 6f 6f 2f | 62 61 72 2f 3b 0d 7d 0d | s/foo/|bar/;.}.|
|00000150| 63 6f 6e 74 69 6e 75 65 | 20 7b 0d 20 20 20 20 70 |continue| {. p|
|00000160| 72 69 6e 74 3b 0d 7d 0d | 0d 69 66 20 28 60 63 61 |rint;.}.|.if (`ca|
|00000170| 74 65 6e 61 74 65 20 2e | 61 20 2e 62 20 2e 63 60 |tenate .|a .b .c`|
|00000180| 20 65 71 20 22 62 61 72 | 5c 6e 62 61 72 5c 6e 62 | eq "bar|\nbar\nb|
|00000190| 61 72 5c 6e 22 29 20 7b | 70 72 69 6e 74 20 22 6f |ar\n") {|print "o|
|000001a0| 6b 20 31 5c 6e 22 3b 7d | 20 65 6c 73 65 20 7b 70 |k 1\n";}| else {p|
|000001b0| 72 69 6e 74 20 22 6e 6f | 74 20 6f 6b 20 31 5c 6e |rint "no|t ok 1\n|
|000001c0| 22 3b 7d 0d 69 66 20 28 | 60 63 61 74 65 6e 61 74 |";}.if (|`catenat|
|000001d0| 65 20 2e 61 2e 62 61 6b | 20 2e 62 2e 62 61 6b 20 |e .a.bak| .b.bak |
|000001e0| 2e 63 2e 62 61 6b 60 20 | 65 71 20 22 66 6f 6f 5c |.c.bak` |eq "foo\|
|000001f0| 6e 66 6f 6f 5c 6e 66 6f | 6f 5c 6e 22 29 20 7b 70 |nfoo\nfo|o\n") {p|
|00000200| 72 69 6e 74 20 22 6f 6b | 20 32 5c 6e 22 3b 7d 20 |rint "ok| 2\n";} |
|00000210| 65 6c 73 65 20 7b 70 72 | 69 6e 74 20 22 6e 6f 74 |else {pr|int "not|
|00000220| 20 6f 6b 20 32 5c 6e 22 | 3b 7d 0d 0d 75 6e 6c 69 | ok 2\n"|;}..unli|
|00000230| 6e 6b 20 27 2e 61 27 2c | 20 27 2e 62 27 2c 20 27 |nk '.a',| '.b', '|
|00000240| 2e 63 27 2c 20 27 2e 61 | 2e 62 61 6b 27 2c 20 27 |.c', '.a|.bak', '|
|00000250| 2e 62 2e 62 61 6b 27 2c | 20 27 2e 63 2e 62 61 6b |.b.bak',| '.c.bak|
|00000260| 27 3b 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |';......|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000290| 00 00 07 be 07 61 72 72 | 61 79 2e 63 02 00 00 00 |.....arr|ay.c....|
|000002a0| 54 45 58 54 00 00 00 00 | 01 00 03 00 00 00 00 00 |TEXT....|........|
|000002b0| 09 69 6e 70 6c 61 63 65 | 2e 74 02 00 00 00 54 45 |.inplace|.t....TE|
|000002c0| 58 54 4d 50 53 20 00 00 | 00 00 00 00 00 00 00 00 |XTMPS ..|........|
|000002d0| 00 00 54 45 58 54 4d 50 | 53 20 00 00 00 00 00 00 |..TEXTMP|S ......|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 a5 8c 0c 1e 00 00 | 01 e3 00 00 01 ac 00 00 |........|........|
|00000300| 00 00 12 00 00 00 07 be | 0c 61 72 72 61 79 2e 63 |........|.array.c|
|00000310| 2e 6f 72 69 67 80 02 00 | 00 00 54 45 58 54 4d 50 |.orig...|..TEXTMP|
|00000320| 53 20 01 00 00 00 01 00 | 00 00 00 00 11 dd 00 00 |S ......|........|
|00000330| 00 00 14 b2 00 00 18 00 | 00 00 00 00 02 2f 00 00 |........|...../..|
|00000340| 08 00 a4 40 a7 97 a5 8b | fa 99 00 00 00 00 00 00 |...@....|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 49 d3 00 03 00 00 00 00 | 00 00 00 00 49 d7 00 01 |I.......|....I...|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 0d 00 00 00 |........|........|
|00000380| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 31 2f 30 |...H..Mo|naco.1/0|
|00000390| 33 2f 32 30 20 30 31 3a | 35 30 3a 35 39 20 6c 77 |3/20 01:|50:59 lw|
|000003a0| 61 6c 6c 20 4c 6f 00 06 | 00 03 00 50 00 20 01 dd |all Lo..|...P. ..|
|000003b0| 02 3d 00 50 00 20 01 dd | 02 3d a5 8c e4 ce 00 00 |.=.P. ..|.=......|
|000003c0| 01 51 00 00 01 51 00 00 | 00 00 01 00 00 00 00 1e |.Q...Q..|........|
|000003d0| 00 50 00 20 01 dd 02 3d | 00 50 00 20 01 dd 02 3d |.P. ...=|.P. ...=|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 2b |.....n..|.n...>.+|
|00000400| a4 ec 0b c2 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |........|.>..MPSR|
|00000410| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 03 f0 ff ff 00 00 00 4c | 00 31 af a0 00 00 00 00 |.......L|.1......|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+